package com.wechatpay.v3.vo;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 支付通知数据
 * 有删减
 *
 * @author liuyi <liuy@pvc123.com>
 * @since 2021/8/11
 */
public class NotifyData implements Serializable {

    /** 返回的附加数据 */
    private String attach;
    /** 支付单号 */
    private String outTradeNo;
    /** 支付金额 */
    private BigDecimal amount;

    public String getAttach() {
        return attach;
    }

    public NotifyData setAttach(String attach) {
        this.attach = attach;
        return this;
    }

    public String getOutTradeNo() {
        return outTradeNo;
    }

    public NotifyData setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
        return this;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public NotifyData setAmount(BigDecimal amount) {
        this.amount = amount;
        return this;
    }
}
